<!-- js call TinyMCE -->
<script type="text/javascript">
	call('description');
	call('content');
</script>

<!-- js validate form  -->

            <div class="header2">
                <p class="pHead"><?php echo $title;?></p>
                <img src="images/icon/back.png" class="iconBack" alt="icon" />
                <span class="back"><a href="#">Quay lại trang trước</a></span>
            </div>
            
         
            <div class="contentMain">
	            	<div class="contentSearch">    
	            		<p style="color: blue; font-weight: bold; margin: 10px 0px;">
	            			- Thông tin khách hàng
	            		</p>        	
		            	<table class="tableSearch">
		                	<tr>
		                    	<td class="tdSearch">Họ và tên:</td>
		                    	<td class="tdSearch2"><?php echo $value_user['full_name']; ?></td>
		                    </tr>
		                    <tr>
		                    	<td class="tdSearch">Email:</td>
		                    	<td class="tdSearch2"><?php echo $value_user['email']; ?></td>
		                    </tr>
		                    <tr>
		                    	<td class="tdSearch">Số phone:</td>
		                    	<td class="tdSearch2"><?php echo $value_user['phone']; ?></td>
		                    </tr>
		                    <tr>
		                    	<td class="tdSearch">Địa chỉ:</td>
		                    	<td class="tdSearch2"><?php echo $value_user['address']; ?></td>
		                    </tr>
		                </table>
		                
		                <p style="color: blue; font-weight: bold; margin: 10px 0px;">
	            			- Các mặt hàng đã mua
	            		</p> 
		                <table class="tableSearch">
		                	<tr>
		                		<td style="text-align: left;" class="tdSearch">STT</td>
		                    	<td style="text-align: left;" class="tdSearch">Tên sản phẩm</td>
		                    	<td style="text-align: left;" class="tdSearch">Đơn giá</td>
		                    	<td style="text-align: left;" class="tdSearch">Số lượng</td>
		                    	<td style="text-align: left;" class="tdSearch">Tổng tiền</td>
		                    </tr>
		                	<?php
		                		 $i = 0;
		                		 foreach ($value_product as $vl_p) {

		                		 $i += 1;	
		                	?>
		                	<tr>
		                    	<td><?php echo $i; ?></td>
		                    	<td><?php echo $vl_p['name']; ?></td>
		                    	<td><?php echo $vl_p['cost']; ?></td>
		                    	<td><?php echo $vl_p['quantity']; ?></td>
		                    	<td>
		                    		<?php
										echo number_format($vl_p['cost']*$vl_p['quantity'],0,",",".");
									?>
		                    	</td>
		                    </tr>
		                    <?php }?>
		                </table>
		                
		                <p style="color: blue; font-weight: bold; margin: 10px 0px;">
	            			- Yêu cầu của khách hàng
	            		</p> 
		                <table class="tableSearch">
		                	<tr>
		                    	<td class="tdSearch">Yêu cầu:</td>
		                    	<td class="tdSearch2"><?php echo $value_order['requirements']; ?></td>
		                    </tr>
		                </table>
	            </div><!-- end contentSearch -->
           	</div><!-- end contentMain -->
          
     